package com.lzw.common.bean;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.type.MappedJdbcTypes;

import java.util.Date;

/**
 * 基础javaBean,所有pojo对象都要继承该接口，其表结构也要有id,create_time的属性
 * Created by 林志伟 on 2017/5/11.
 */
public class BaseBean {
    private Integer id;

    private Date createTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        return "BaseBean{" +
                "id=" + id +
                ", createTime=" + createTime +
                '}';
    }
}
